\documentclass[11pt,a4paper]{report}

\usepackage[italian]{babel}
\usepackage{ucs} %unicode sistema gli accenti
\usepackage[utf8x]{inputenc} %unicode sistema gli accenti
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{color}
\usepackage{subfigure} % per figure affiancate
\usepackage{hyperref}
\usepackage{float} % per far bene le figures
\usepackage{indentfirst}
\usepackage[Lenny]{fncychap} % per cambiare i capitoli
\usepackage{longtable}
\usepackage{lastpage} % total page count

% colori e variabili
\input{../Template/model/colors.tex}
\input{../Template/model/variables.tex}

\graphicspath{{./pics/}} % cartella di salvataggio immagini

\pagestyle{fancy}

\lhead{\nouppercase{\rightmark}}
\rhead{\nouppercase{\leftmark}}

\fancypagestyle{plain}{%
	\lhead{}
	\chead{}
	\rhead{\rightmark}
	\lfoot{\info}
	\cfoot{}
	\rfoot{\thepage\ / \pageref{LastPage}}
	\renewcommand{\headrulewidth}{0.3pt}% this command should not be add to variables.tex
	\renewcommand{\footrulewidth}{0.3pt}% this command should not be add to variables.tex
}
	\lhead{}
	\chead{}
	\rhead{\rightmark}
	\lfoot{\info}
	\cfoot{}
	\rfoot{\thepage\ / \pageref{LastPage}}
	\renewcommand{\headrulewidth}{0.3pt}% this command should not be add to variables.tex
	\renewcommand{\footrulewidth}{0.3pt}% this command should not be add to variables.tex

\hypersetup{
	colorlinks=true,% false: boxed links; true: colored links
	linkcolor=[rgb]{0.11,0.55,0.83},% color of internal links
	urlcolor=cyan% color of external links
}

\bibliographystyle{plain_ita}%bibliografia stile italiano

\pagenumbering{Roman}
% fine layout
